<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<%@ taglib prefix="sjg" uri="/struts-jquery-grid-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<sj:head jqueryui="true" jquerytheme="redmond" />
</head>
<body>
	<s:url id="businessLookupActionUrl" action="businessLookupAction" />	
	<s:form id="formValidateCustom" theme="simple" cssClass="yform">
		<fieldset>
			<legend>BUSINESS - LOOKUP</legend>
			<div class="type-text" style="float: clear;">
				<label for="businessName">Business Name: </label>
				<s:textfield id="businessName" name="businessName" /> 
				&nbsp;
				<label for="sicCode">SIC Code: </label>
				<s:textfield id="sicCode" name="sicCode" />
			</div>
			<br>
			<div>				
				<sj:submit button="true" value="Search" />
				<sj:submit button="true" value="None" />
				<sj:submit button="true" value="Clear" />
				<br />
			</div>
			<sjg:grid id="gridtable" caption="Business List" dataType="json"
				href="%{businessLookupActionUrl}" pager="true" gridModel="gridModel"
				rowNum="15" rownumbers="true">
				<sjg:gridColumn name="businessName" index="businessName" title="Business Name" 
					sortable="false" />
				<sjg:gridColumn name="sicCode" index="sicCode" title="SIC Code" sortable="false" />				
			</sjg:grid>
			<div>
				<br />
				<sj:submit button="true" value="Select"/>
				<sj:submit button="true" value="Close" />
			</div>
		</fieldset>
	</s:form>	
</body>
</html>
